/**
 * File comment: complete
 */
package edu.gatech.oad.project.networking.messages.serverResponses; // $codepro.audit.disable packageNamingConvention

import java.util.Arrays;

import edu.gatech.oad.project.networking.messages.Message;
import edu.gatech.oad.project.operations.users.Doctor;

/**
 * Stores the doctors to return from the message
 * 
 * @author James Moore
 * @version 1.0
 */
public class getAllDoctorResponse extends Message{ // $codepro.audit.disable classNamingConvention -->
    
    /**
     * Field serialVersionUID: serialize number
     */
    private static final long serialVersionUID = 6646070369589052711L;

    /**
     * Default constructor
     * 
     * @param data list of doctors
     * @param token security token
     */
    public getAllDoctorResponse(Doctor[] data, long token) {
        super(data, token);
    }
    
    /**
     * Takes the data needed to send back to the client and stores it in the
     * proper response.
     * 
     * @return the response
     */
    @Override
    public Message handle() {
        return null;
    }

    /**
     * @return a string
     */
    @Override
    public String toString() {
        return "getAllDoctorResponse [data=" + Arrays.toString(data)
                + ", token=" + token + "]";
    }

}
